import sqlite3
import sys
import uuid
import datetime
import time

dbName = sys.argv[1] + ".db"
key = sys.argv[2]

# 建立数据库连接，返回connection对象
con=sqlite3.connect(dbName)

id = uuid.uuid1()；
time = datetime.strftime(datetime.now(), '%Y-%m-%d %H:%M:%S')
key = key
value = "112wee"

 #创建表book:包含3列，id(主键，学号),name,tel
con.execute("create table if not exists book(id primary key,time,key,value)")

